Skip to content

Conversation

petetomasik
Copy link
Contributor

@petetomasik petetomasik commented Aug 20, 2025

Inspired by #839
Fixes #1012

  • This adds the newly released agent config disconnect-after-uptime, present in release v3.102.0.
  • This allows a max lifetime for agents to be configured.
  • Any running jobs will be completed and the agent will then shut down.
  • When the buildkite-agent service is stopped, its EC2 instance will also be terminated.

@petetomasik petetomasik requested a review from a team as a code owner August 20, 2025 15:22
@petetomasik petetomasik merged commit da61a51 into main Aug 20, 2025
1 check passed
@petetomasik petetomasik deleted the SUP-4522-agent-disconnect-after-uptime branch August 20, 2025 20:28
@jasonwbarnett
Copy link

@petetomasik It's always a joy when I think, "I'd love feature X." and it's already implemented! Thank you so much. This is GREAT. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shutdown instances after maximum number of jobs
3 participants